withoutParentClassOf

fun <T : KoParentClassProvider> List<T>.withoutParentClassOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectParents: Boolean = false): List<T>

List containing declarations without parent class.

Return

A list containing declarations without parent class of the specified Kotlin class(es).

Parameters

kClass

The Kotlin class representing the parent class to exclude.

kClasses

The Kotlin class(es) representing the parent class(es) to exclude.

indirectParents

Whether to include indirect parent classes.


fun <T : KoParentClassProvider> List<T>.withoutParentClassOf(kClasses: Collection<KClass<*>>, indirectParents: Boolean = false): List<T>

List containing declarations without parent class.

Return

A list containing declarations without parent class of the specified Kotlin class(es).

Parameters

kClasses

The Kotlin class(es) representing the parent class(es) to exclude.

indirectParents

Whether to include indirect parent classes.